<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>后台 | Login </title>

    <link href="__PUBLIC__/home/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/home/font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="__PUBLIC__/home/css/animate.css" rel="stylesheet">
    <link href="__PUBLIC__/home/css/style.css" rel="stylesheet">
    <script type="text/javascript" src="__PUBLIC__/home/js/jquery-3.2.1.min.js"></script>
</head>

<body class="gray-bg">

<div class="loginColumns animated fadeInDown">
    <div class="row">

        <div class="col-md-6">
            <h2 class="font-bold">Welcome to 游戏管理平台</h2>

            <p>
                Perfectly designed and precisely prepared admin theme with over 50 pages with extra new web app views.
            </p>

            <p>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
            </p>

            <p>
                When an unknown printer took a galley of type and scrambled it to make a type specimen book.
            </p>

            <p>
                <small>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</small>
            </p>

        </div>
        <div class="col-md-6">
            <div class="ibox-content">
                <form class="m-t" role="form" action="{:U('/User/login')}" method="post">
                    <div class="form-group">
                        <input type="text" class="form-control" name="username" placeholder="账号" required="">
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" name="pwd" placeholder="密码" required="">
                    </div>
                    <button type="submit" class="btn btn-primary block full-width m-b">登录</button>

                    <!--<a href="login_two_columns.html#">-->
                        <!--<small>忘记 密码?</small>-->
                    <!--</a>-->

                    <p class="text-muted text-center">
                        <small>请联系管理员，创建账号?</small>
                    </p>
                  <!--  <a href="{:U('user/test')}" class="btn btn-sm btn-white btn-block">注册</a>
                    <a class="btn btn-sm btn-white btn-block" href="#" onclick="demo(456)">生成二维�?/a>
                    <img id="qrcode" src=""/>-->
                </form>
                <p class="m-t">
                    <small>游戏开发运营平台&copy; 2017</small>
                </p>
            </div>
        </div>
    </div>
    <hr/>
    <div class="row">
        <div class="col-md-6">
            游戏运营平台
        </div>
        <div class="col-md-6 text-right">
            <small>© 2017-<?php echo date("Y");?></small>
        </div>
    </div>
</div>
<script>
    $(function () {
       // $("#qrcode").attr("src",'__PUBLIC__/home/img/a1.jpg');
    });
    function demo(id) {
        $("#qrcode").attr("src",'__ROOT__/user/qrcode/id/'+id);
        /*$.ajax({
            type:"GET",
            datatype:"json",
            url:"__ROOT__/user/demo/id/"+id,
            success:function (data) {
                response.write(data);
            },
            error:function () {
                alert(1);
            }
        });*/
    }
</script>
</body>

</html>
